<?php
namespace App\Repositories\GameServer;

use App\Models\GameServer\ChangeRecord;


class ChangeRecordRepository
{
    //获取某玩家账变记录
    public function getChangeRecords($id)
    {
        $res = ChangeRecord::where('account_id', $id)->orderBy('id', 'desc')->get();

        return $res;
    }
}